#ifndef __DELAY_H
#define __DELAY_H 			   
#include "sys.h"  

#define assert_param(expr) ((void)0)

#define SysTick_CLKSource_HCLK_Div8    ((uint32_t)0xFFFFFFFB)
#define SysTick_CLKSource_HCLK         ((uint32_t)0x00000004)
#define IS_SYSTICK_CLK_SOURCE(SOURCE) (((SOURCE) == SysTick_CLKSource_HCLK) || \
                                       ((SOURCE) == SysTick_CLKSource_HCLK_Div8))
void delay_init(void);
void delay_ms(uint16_t nms);
void delay_us(uint32_t nus);

void SysTick_CLKSourceConfig(uint32_t SysTick_CLKSource);

#endif



